package com.sname.car.security.SpringSecurity;

import org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter;

import javax.servlet.http.HttpServletRequest;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author songx
 * @date 2018/9/28 14:30
 */
public class RestPreAuthenticatedProcessingFilter extends AbstractPreAuthenticatedProcessingFilter {
    /**
     * Author song  醉美柳舞之众星捧月
     * Date & Time  2018/9/28 14:32
     * Description  配置第二步 预授权验证用户
     */
    /**
     * 验证用户
     **/
    @Override
    protected Object getPreAuthenticatedPrincipal(HttpServletRequest httpServletRequest) {
        return null;
    }

    /**
     * 授权凭证(基本用不到)
     **/
    @Override
    protected Object getPreAuthenticatedCredentials(HttpServletRequest httpServletRequest) {
        return null;
    }
}
